package ro.imc.assignment1.dani;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeT {
	private Date timeNow;
	
	public void printCurrentTime(){
	DateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");
	timeNow = new Date();
	System.out.println(dateFormat.format(timeNow));
	}
}
